<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            display: flex;
            justify-content: center;
            align-items: center;
            background: #000;
        }

        .carousel {
            position: relative;
            height: 600px;
            margin-top: 80px;
            perspective: 1500px;
        }

        .carousel .carousel-item {
            width: 250px;
        }

        .carousel .carousel-item img {
            max-width: 235px;
            transform: translateX(8px) translateY(-100px);
        }

        .carousel .carousel-item h3 {
            margin-top: -5px;
            background: #fff;
            color: #000;
            box-sizing: border-box;
            padding: 5px;
            font-weight: bold;
            font-size: 18px;
            text-align: center;
        }

        .carousel .mobile {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 1000;
            pointer-events: none;
            max-width: 260px;
        }
    </style>
</head>

<body>
    <div class="carousel">
        <img src="../image/1.jpg" class="mobile">
        <div class="carousel-item">
            <img src="../image/2.jpg">
        </div>
        <div class="carousel-item">
            <img src="../image/3.jpg">
        </div>
        <div class="carousel-item">
            <img src="../image/4.jpg">
        </div>
        <div class="carousel-item">
            <img src="../image/5.jpg">
        </div>
        <div class="carousel-item">
            <img src="../image/6.jpg">
        </div>
    </div>
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.3/jquery.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $('.carousel').carousel();
        });
    </script>
</body>

</html>